package com.dmagic.cms.service;

import java.util.List;
import java.util.Map;

import com.dmagic.cms.common.exception.ServiceException;
import com.dmagic.cms.common.exception.ValidateException;
import com.dmagic.cms.common.query.PageUtil;
import com.dmagic.cms.entity.Product;

public interface ProductService {

	public void saveProduct(Product[] product) throws ValidateException;

	public void searchProduct(PageUtil<Map> pageUtil) throws ServiceException;

	public Product getProduct(Long productId) throws ServiceException;

	public List<Product> getProductByProductNo(String productNo) throws ServiceException;

	public void deleteProduct(List<Long> productIds) throws ServiceException;

	public void deleteProduct(Long productId) throws ServiceException;

	public void changeProductCategory(List<Long> productIds, Long productCategoryId) throws ServiceException;
}
